<?php
/**

 * @version $Id: default.php,v 1.4 2009/06/04 20:13:37 dgravato Exp $

 * @package    sketchup

 * @subpackage 

 * @author     Chris Borkowski {@link http://www.guggenheim.org}

 * @author     Created on 05-May-2009

 */

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!--<div id="sketchup_message_recent"><h3>Most Recent</h3>
<p><span style="color:#cc3433;font-weight: bold">Please note:</span>&nbsp;Due to the large volume of submissions over the last weekend of the competition, it will take longer for the shelters to appear on the site. You will be notified via email if your shelter meets the requirements and is posted to the Web site</p><br/><br/>
</div> -->
<?php foreach($this->list as $l): ?> 
<div id="sketchup_search_list">
<table> 
<tr>
  <td width="180" valign="top">
  <div id="list_picture"><a href="<?php echo $l->link; ?>">
  <img src="<?php echo $l->image1 = str_replace('/images/content/sketchup/uploads/', 'images/content/sketchup/site/', $l->image1); ?>" width="160" height="112"/></a></div>
  </td>
  <td width="500" valign="top"><span id="sketchup_title"><a href="<?php echo $l->link; ?>"><?php echo $l->p_title; ?></a></span><br/>
  	<span id="sketchup_designer">By <?php echo $l->f_name; ?>&nbsp;<?php echo $l->l_name; ?></span><br/>
	<span id="sketchup_designer_details">From:&nbsp;<?php echo $l->city; ?>,&nbsp;<?php echo $l->country; ?><br/>
        Shelter location:&nbsp;<?php echo $l->location; ?><br/>
 		</span>
 		<span id="finalist_all">
       		<?php if ($l->finalist == 1): ?>
        	 <a href="<?php echo $this->vote_link; ?>"> <img src="<?php echo JURI::base(); ?>/components/com_sketchup/assets/images/finalist_dot.jpg"/> FINALIST </a>
        	<?php endif ?>
		</span>
 	</td>
</tr>  

</table>
</div>
<?php endforeach; ?> 


 <div id="bottom_links">
 <table width="100%">
    <tr>
      <td><?php echo $this->pagination->getResultsCounter(); ?></td>
     	<td><form name="adminForm"><?php echo $this->pagination->getListFooter(); ?></form></td>
      <form action="<?php echo $this->requestURL; ?>" name="adminForm" method="post">
      <td>
      	<div id="makeshare">
	<!-- AddThis Button BEGIN -->
	<a href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/sm-share-en.gif" width="83" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=guggenheimmuseum"></script>
	<!-- AddThis Button END -->	
        </div>
     </td> 
    </tr>  
 </table>
</div>




